
export class Channel {
	  /**
     * The Echo options.
     */
    options={}

    /**
     * Listen for an event on the channel instance.
     */
     listen(event, callback) {
			 console.log("父类的listen");
		 }

    /**
     * Listen for a whisper event on the channel instance.
     */
    listenForWhisper(event, callback) {
        return this.listen('.client-' + event, callback);
    }

    /**
     * Listen for an event on the channel instance.
     */
    notification(callback) {
        return this.listen('.Illuminate\\Notifications\\Events\\BroadcastNotificationCreated', callback);
    }

    /**
     * Stop listening to an event on the channel instance.
     */
     stopListening(event){}
}